package com.swordget.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;

/**
 * @Author: David
 * @Date: Created in 13:50 2020/4/16
 * @Description: ${DESCRIPTION}
 * @Modified By:
 * @Version: ${VERSION}
 */
@Data
@EnableConfigurationProperties(UserProperties.class)
@PropertySource(value = "classpath:features.properties", name = "features.properties", ignoreResourceNotFound = true,
        encoding = "UTF-8")
@ConfigurationProperties(prefix = "user")
public class UserProperties {

    /**
     * 导出文件位置
     */
    private String exportFilePath;

    /**
     * 上传文件储存位置
     */
    private String uploadPath;

    /**
     * loadData 文件存储位置
     */
    private String loadDataPath;


    /**
     * 开启load data导入
     */
    private boolean enableLoadData;

    /**
     * 校验文件存放位置
     */
    private String checkFilePath;

    private String errorLogPath;


}
